package com.example.kiratest.realize.mapper;

import com.example.kiratest.realize.pojo.PhaTradeTest;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface PhaTradeJsonTestMapper {

    @Select("select * from t_pha_trade")
    List<PhaTradeTest> list();

    @Insert("insert into t_pha_trade (json_test) VALUES (#{jsonTest})")
    boolean insertJsonTest(PhaTradeTest phaTradeTest) ;




}
